#ifndef TOOLSMANAGER_H
#define TOOLSMANAGER_H

#include <QObject>
#include <QList>

#include "painttool.h"

class ToolsManager : public QObject
{

    Q_OBJECT

private:
    static ToolsManager* _instance;

    ToolsManager();
    ~ToolsManager();

public:
    static ToolsManager* instance();
    int initTools();
    PaintTool* selectedTool();

public slots:
    void toolSelect(PaintTool *currentTool);


private:
    QList<PaintTool> *toolsList;
    PaintTool* currentTool;


};

#endif // TOOLSMANAGER_H
